import type { Recordable } from '@vben/types';
import { requestClient } from '#/api/request';

// 上传图片
export async function putFile(data: FormData) {
  return requestClient.upload('/oss/oss/putFile', data);
}

// 上传录音
export async function putPcmFile(data: FormData) {
  return requestClient.upload('/oss/oss/putPcmFile', data);
}
